package Chapter08.homework.Homework03;

/**
 * @author 杨森
 * @date 2022年10月08日 19:42
 */
public class Professor extends Teacher{
    public Professor() {
    }

    public Professor(String name, int age, String post, double salary) {
        super(name, age, post, salary);
    }
    public void introduce(){
        System.out.println("这是教授的信息");
        super.introduce();
    }
}
